<div class="edit-div">
    <div class="title">修改信息</div>
    <div class="left-div">
        <div class="logo-div" style="margin-bottom:12px;text-align: center;">
            <div style="margin-bottom:12px;text-align: left;">logo图：</div>
            <img *ngIf="logoUrl" [src]="logoUrl" alt="Logo" style="margin-bottom:12px;">
            <nz-upload style="display:block;"
                nzMultiple
                [nzLimit]="1"
                [nzShowUploadList]=false
                [nzFilter]="filters"
                [nzFileList]="fileList"
                (nzChange)="logoChange($event)"
                nzAction="{{companyLogo}}">
                <button nz-button *ngIf="logoUrl" [nzLoading]="isLoading">
                  <i nz-icon type="upload"></i><span>更改Logo图片</span>
                </button>
                <button nz-button *ngIf="!logoUrl" [nzLoading]="isLoading">
                  <i nz-icon type="upload"></i><span>上传Logo图片</span>
                </button>
                <div class="checkResult" *ngIf="logocode==-1">请先上传公司logo!</div>
            </nz-upload>
        </div>

        <div>公司名称：</div>
        <div style="margin-bottom:12px;">
          <input type="text" [disabled]="true" nz-input [ngModel]="name">
        </div>
        
        <div>联系电话：</div>
        <div style="margin-bottom:12px;">
          <input type="text" (focus)="telFocus()" nz-input [(ngModel)]="tel" placeholder="请输入联系电话">
          <div class="checkResult" *ngIf="telcode==-1">请输入联系电话!</div>
        </div>

        <div>地址：</div>
        <nz-cascader style="width: 100%;" [nzOptions]="nzOptions" [nzShowSearch]="true" [(ngModel)]="values" [ngModelOptions]="{standalone: true}" (ngModelChange)="onChanges($event)"></nz-cascader>
        <nz-form-explain class="checkResult" *ngIf="selectArea ==-1">请选择地区!</nz-form-explain>
        
        <div style="margin-top:12px;">备注：</div>
        <input style="margin-bottom:20px;" type="text" nz-input [(ngModel)]="remark">

        <br>
        <button nz-button [nzType]="'primary'" [nzLoading]="btn_loading" (click)="editInfo()">更改基本信息</button>
      </div>
</div>
  
  
